<?php

namespace App\Models\Train\TrainSeatInfo\Repositories\Interfaces;

use App\Models\Train\TrainSeatInfo\TrainSeatInfo;
use Illuminate\Support\Collection;

interface TrainSeatInfoRepositoryInterface
{
    public function addTrainSeatInfo(array $data): TrainSeatInfo;

    public function findByTrainCodeAndName(string $train_code, string $from_code, string $to_code, string $seat_name, string $name): ?TrainSeatInfo;

    public function listByTrainCodeAndSeatName(string $train_code, string $from_code, string $to_code, string $seat_name): Collection;
}